<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>~/vim_local/vimrc.html</title>
<meta name="Generator" content="Vim/7.0"/>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
<style type="text/css">
<!--
.LineNr { color: #b0b0b0; background-color: #202020; }
.Number { color: #e0c060; background-color: #202020; }
.Normal { color: #d0d0d0; background-color: #202020; }
.Identifier { color: #f0c0f0; background-color: #202020; }
.Special { color: #f6bf54; background-color: #202020; }
.Constant { color: #80c0e0; background-color: #202020; }
.Type { color: #b0d0f0; background-color: #202020; }
.PreProc { color: #60f080; background-color: #202020; }
.Statement { color: #c0d8f8; background-color: #202020; }
pre { color: #d0d0d0; background-color: #202020; }
body { color: #d0d0d0; background-color: #202020; }
.Comment { color: #d0d090; background-color: #202020; }
-->
</style>
</head>
<body style="color: #d0d0d0; background-color: #202020;">
<p>
<pre>
<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">&quot;          _</span>

<span style="color: #d0d090; background-color: #202020;">&quot;      __ | \</span>
<span style="color: #d0d090; background-color: #202020;">&quot;     /   | /</span>
<span style="color: #d0d090; background-color: #202020;">&quot;     \__ | \</span>
<span style="color: #d0d090; background-color: #202020;">&quot; by Amix - <a href="http://amix.dk/">http://amix.dk/</a></span>
<span style="color: #d0d090; background-color: #202020;">&quot;</span>
<span style="color: #d0d090; background-color: #202020;">&quot;</span> <span style="color: #60f080; background-color: #202020;">Maintainer:</span><span style="color: #d0d090; background-color: #202020;"> Amir Salihefendic &lt;amix3k at gmail.com&gt;</span>

<span style="color: #d0d090; background-color: #202020;">&quot;</span> <span style="color: #60f080; background-color: #202020;">Version:</span><span style="color: #d0d090; background-color: #202020;"> 2.7</span>
<span style="color: #d0d090; background-color: #202020;">&quot;</span> <span style="color: #60f080; background-color: #202020;">Last Change:</span><span style="color: #d0d090; background-color: #202020;"> 12/10/06 00:09:21</span>
<span style="color: #d0d090; background-color: #202020;">&quot;</span>
<span style="color: #d0d090; background-color: #202020;">&quot;</span> <span style="color: #60f080; background-color: #202020;">Sections:</span>
<span style="color: #d0d090; background-color: #202020;">&quot; ----------------------</span>

<span style="color: #d0d090; background-color: #202020;">" <a href="#General" style="color: cyan">General</a></span>
<span style="color: #d0d090; background-color: #202020;">" <a href="#Colors and Fonts" style="color: cyan">Colors and Fonts</a></span>
<span style="color: #d0d090; background-color: #202020;">" <a href="#Fileformats" style="color: cyan">Fileformats</a></span>
<span style="color: #d0d090; background-color: #202020;">" <a href="#VIM userinterface" style="color: cyan">VIM userinterface</a></span>
<span style="color: #d0d090; background-color: #202020;">" &nbsp;&nbsp; <a href="#Statusline" style="color: cyan;">Statusline</a></span>
<span style="color: #d0d090; background-color: #202020;">" <a href="#Visual" style="color: cyan">Visual</a></span>

<span style="color: #d0d090; background-color: #202020;">" <a href="#Moving around and tabs" style="color: cyan">Moving around and tabs</a></span>
<span style="color: #d0d090; background-color: #202020;">" <a href="#General Autocommands" style="color: cyan">General Autocommands</a></span>
<span style="color: #d0d090; background-color: #202020;">" <a href="#Parenthesis/bracket expanding" style="color: cyan">Parenthesis/bracket expanding</a></span>
<span style="color: #d0d090; background-color: #202020;">" <a href="#General Abbrevs" style="color: cyan">General Abbrevs</a></span>
<span style="color: #d0d090; background-color: #202020;">" <a href="#Editing mappings etc." style="color: cyan">Editing mappings etc.</a></span>
<span style="color: #d0d090; background-color: #202020;">" <a href="#Command-line config" style="color: cyan">Command-line config</a></span>

<span style="color: #d0d090; background-color: #202020;">" <a href="#Buffer realted" style="color: cyan">Buffer realted</a></span>
<span style="color: #d0d090; background-color: #202020;">" <a href="#Files and backups" style="color: cyan">Files and backups</a></span>
<span style="color: #d0d090; background-color: #202020;">" <a href="#Folding" style="color: cyan">Folding</a></span>
<span style="color: #d0d090; background-color: #202020;">" <a href="#Text options" style="color: cyan">Text options</a></span>
<span style="color: #d0d090; background-color: #202020;">" &nbsp;&nbsp; <a href="#Indent" style="color: cyan;">Indent</a></span>
<span style="color: #d0d090; background-color: #202020;">" <a href="#Spell checking" style="color: cyan">Spell checking</a></span>

<span style="color: #d0d090; background-color: #202020;">" <a href="#Plugin configuration" style="color: cyan">Plugin configuration</a></span>
<span style="color: #d0d090; background-color: #202020;">" &nbsp;&nbsp; <a href="#Yank ring" style="color: cyan;">Yank ring</a></span>
<span style="color: #d0d090; background-color: #202020;">" &nbsp;&nbsp; <a href="#File explorer" style="color: cyan;">File explorer</a></span>
<span style="color: #d0d090; background-color: #202020;">" &nbsp;&nbsp; <a href="#Minibuffer" style="color: cyan;">Minibuffer</a></span>
<span style="color: #d0d090; background-color: #202020;">" &nbsp;&nbsp; <a href="#Tag list (ctags) - not used" style="color: cyan;">Tag list (ctags) - not used</a></span>

<span style="color: #d0d090; background-color: #202020;">" &nbsp;&nbsp; <a href="#LaTeX Suite things" style="color: cyan;">LaTeX Suite things</a></span>
<span style="color: #d0d090; background-color: #202020;">" <a href="#Filetype generic" style="color: cyan">Filetype generic</a></span>
<span style="color: #d0d090; background-color: #202020;">" &nbsp;&nbsp; <a href="#Todo" style="color: cyan;">Todo</a></span>
<span style="color: #d0d090; background-color: #202020;">" &nbsp;&nbsp; <a href="#VIM" style="color: cyan;">VIM</a></span>
<span style="color: #d0d090; background-color: #202020;">" &nbsp;&nbsp; <a href="#HTML related" style="color: cyan;">HTML related</a></span>

<span style="color: #d0d090; background-color: #202020;">" &nbsp;&nbsp; <a href="#Ruby &amp; PHP section" style="color: cyan;">Ruby &amp; PHP section</a></span>
<span style="color: #d0d090; background-color: #202020;">" &nbsp;&nbsp; <a href="#Python section" style="color: cyan;">Python section</a></span>
<span style="color: #d0d090; background-color: #202020;">" &nbsp;&nbsp; <a href="#Cheetah section" style="color: cyan;">Cheetah section</a></span>
<span style="color: #d0d090; background-color: #202020;">" &nbsp;&nbsp; <a href="#Vim section" style="color: cyan;">Vim section</a></span>

<span style="color: #d0d090; background-color: #202020;">" &nbsp;&nbsp; <a href="#Java section" style="color: cyan;">Java section</a></span>
<span style="color: #d0d090; background-color: #202020;">" &nbsp;&nbsp; <a href="#JavaScript section" style="color: cyan;">JavaScript section</a></span>
<span style="color: #d0d090; background-color: #202020;">" &nbsp;&nbsp; <a href="#C mappings" style="color: cyan;">C mappings</a></span>
<span style="color: #d0d090; background-color: #202020;">" &nbsp;&nbsp; <a href="#SML" style="color: cyan;">SML</a></span>
<span style="color: #d0d090; background-color: #202020;">" &nbsp;&nbsp; <a href="#Scheme bindings" style="color: cyan;">Scheme bindings</a></span>

<span style="color: #d0d090; background-color: #202020;">" <a href="#Snippets" style="color: cyan">Snippets</a></span>
<span style="color: #d0d090; background-color: #202020;">" &nbsp;&nbsp; <a href="#Python" style="color: cyan;">Python</a></span>
<span style="color: #d0d090; background-color: #202020;">" &nbsp;&nbsp; <a href="#javaScript" style="color: cyan;">javaScript</a></span>
<span style="color: #d0d090; background-color: #202020;">" <a href="#Cope" style="color: cyan">Cope</a></span>
<span style="color: #d0d090; background-color: #202020;">" <a href="#MISC" style="color: cyan">MISC</a></span>

<span style="color: #d0d090; background-color: #202020;">&quot;</span>
<span style="color: #d0d090; background-color: #202020;">&quot;</span>  <span style="color: #60f080; background-color: #202020;">Tip:</span>
<span style="color: #d0d090; background-color: #202020;">&quot;   If you find anything that you can't understand than do this:</span>
<span style="color: #d0d090; background-color: #202020;">&quot;   help keyword OR helpgrep keywords</span>
<span style="color: #d0d090; background-color: #202020;">&quot;</span>  <span style="color: #60f080; background-color: #202020;">Example:</span>
<span style="color: #d0d090; background-color: #202020;">&quot;   Go into command-line mode and type helpgrep nocompatible, ie.</span>
<span style="color: #d0d090; background-color: #202020;">&quot;   :helpgrep nocompatible</span>

<span style="color: #d0d090; background-color: #202020;">&quot;   then press &lt;leader&gt;c to see the results, or :botright cw</span>
<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>

<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">" <a name="General" style="color: #fff">General</a></span>
<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">&quot;Get out of VI's compatible mode..</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">nocompatible</span>

<span style="color: #d0d090; background-color: #202020;">&quot;Sets how many lines of history VIM har to remember</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">history</span>=400

<span style="color: #d0d090; background-color: #202020;">&quot;Enable filetype plugin</span>
<span style="color: #c0d8f8; background-color: #202020;">filetype</span> <span style="color: #b0d0f0; background-color: #202020;">plugin</span> <span style="color: #b0d0f0; background-color: #202020;">on</span>
<span style="color: #c0d8f8; background-color: #202020;">filetype</span> <span style="color: #b0d0f0; background-color: #202020;">indent</span> <span style="color: #b0d0f0; background-color: #202020;">on</span>

<span style="color: #d0d090; background-color: #202020;">&quot;Set to auto read when a file is changed from the outside</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">autoread</span>

<span style="color: #d0d090; background-color: #202020;">&quot;Have the mouse enabled all the time:</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">mouse</span>=a

<span style="color: #d0d090; background-color: #202020;">&quot;Set mapleader</span>
<span style="color: #c0d8f8; background-color: #202020;">let</span> mapleader <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #80c0e0; background-color: #202020;">&quot;,&quot;</span>

<span style="color: #c0d8f8; background-color: #202020;">let</span> g:<span style="color: #c0d8f8; background-color: #202020;">map</span>leader = &quot;,&quot;

<span style="color: #d0d090; background-color: #202020;">&quot;Fast saving</span>
<span style="color: #c0d8f8; background-color: #202020;">nmap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>w :w!<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>
<span style="color: #c0d8f8; background-color: #202020;">nmap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>f :find<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #d0d090; background-color: #202020;">&quot;Fast reloading of the .vimrc</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>s :source ~/vim_local/vimrc<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>
<span style="color: #d0d090; background-color: #202020;">&quot;Fast editing of .vimrc</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>e :e! ~/vim_local/vimrc<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #d0d090; background-color: #202020;">&quot;When .vimrc is edited, reload it</span>
<span style="color: #c0d8f8; background-color: #202020;">autocmd</span>! <span style="color: #b0d0f0; background-color: #202020;">bufwritepost</span> vimrc <span style="color: #c0d8f8; background-color: #202020;">source</span> ~/vim_local/vimrc


<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">" <a name="Colors and Fonts" style="color: #fff">Colors and Fonts</a></span>
<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">&quot;Enable syntax hl</span>

<span style="color: #c0d8f8; background-color: #202020;">syntax</span> <span style="color: #b0d0f0; background-color: #202020;">enable</span>

<span style="color: #d0d090; background-color: #202020;">&quot;Set font to Monaco 10pt</span>
<span style="color: #c0d8f8; background-color: #202020;">if</span> <span style="color: #d0d0d0; background-color: #202020;">MySys</span><span style="color: #c0d8f8; background-color: #202020;">()</span> <span style="color: #c0d8f8; background-color: #202020;">==</span> <span style="color: #80c0e0; background-color: #202020;">&quot;mac&quot;</span>
  <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">gfn</span>=Bitstream\ Vera\ Sans\ Mono<span style="color: #c0d8f8; background-color: #202020;">:</span>h14
  <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">nomacatsui</span>

  <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">termencoding</span>=macroman
<span style="color: #c0d8f8; background-color: #202020;">elseif</span> <span style="color: #d0d0d0; background-color: #202020;">MySys</span><span style="color: #c0d8f8; background-color: #202020;">()</span> <span style="color: #c0d8f8; background-color: #202020;">==</span> <span style="color: #80c0e0; background-color: #202020;">&quot;linux&quot;</span>
  <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">gfn</span>=Monospace\ 11

<span style="color: #c0d8f8; background-color: #202020;">endif</span>

<span style="color: #c0d8f8; background-color: #202020;">if</span> <span style="color: #f0c0f0; background-color: #202020;">has</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;gui_running&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span>
  <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">guioptions</span>-=T
  <span style="color: #c0d8f8; background-color: #202020;">let</span> psc_style<span style="color: #c0d8f8; background-color: #202020;">=</span><span style="color: #80c0e0; background-color: #202020;">'cool'</span>

  <span style="color: #c0d8f8; background-color: #202020;">colorscheme</span> ps_color
<span style="color: #c0d8f8; background-color: #202020;">else</span>
  <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">background</span>=dark
  <span style="color: #c0d8f8; background-color: #202020;">colorscheme</span> zellner
<span style="color: #c0d8f8; background-color: #202020;">endif</span>

<span style="color: #d0d090; background-color: #202020;">&quot;Some nice mapping to switch syntax (useful if one mixes different languages in one file)</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>1 :set syntax=cheetah<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>2 :set syntax=xhtml<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>3 :set syntax=python<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>4 :set ft=javascript<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>$ :syntax sync fromstart<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">BufEnter</span> * :<span style="color: #c0d8f8; background-color: #202020;">syntax</span> <span style="color: #b0d0f0; background-color: #202020;">sync</span> <span style="color: #b0d0f0; background-color: #202020;">fromstart</span>

<span style="color: #d0d090; background-color: #202020;">&quot;Highlight current</span>
<span style="color: #c0d8f8; background-color: #202020;">if</span> <span style="color: #f0c0f0; background-color: #202020;">has</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;gui_running&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span>
  <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">cursorline</span>
  <span style="color: #c0d8f8; background-color: #202020;">hi</span> cursorline <span style="color: #b0d0f0; background-color: #202020;">guibg</span>=<span style="color: #e0c060; background-color: #202020;">#333333</span>

  <span style="color: #c0d8f8; background-color: #202020;">hi</span> CursorColumn <span style="color: #b0d0f0; background-color: #202020;">guibg</span>=<span style="color: #e0c060; background-color: #202020;">#333333</span>
<span style="color: #c0d8f8; background-color: #202020;">endif</span>

<span style="color: #d0d090; background-color: #202020;">&quot;Omni menu colors</span>
<span style="color: #c0d8f8; background-color: #202020;">hi</span> Pmenu <span style="color: #b0d0f0; background-color: #202020;">guibg</span>=<span style="color: #e0c060; background-color: #202020;">#333333</span>

<span style="color: #c0d8f8; background-color: #202020;">hi</span> PmenuSel <span style="color: #b0d0f0; background-color: #202020;">guibg</span>=<span style="color: #e0c060; background-color: #202020;">#555555</span> <span style="color: #b0d0f0; background-color: #202020;">guifg</span>=<span style="color: #e0c060; background-color: #202020;">#ffffff</span>


<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">" <a name="Fileformats" style="color: #fff">Fileformats</a></span>

<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">&quot;Favorite filetypes</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">ffs</span>=unix<span style="color: #c0d8f8; background-color: #202020;">,</span>dos<span style="color: #c0d8f8; background-color: #202020;">,</span>mac

<span style="color: #c0d8f8; background-color: #202020;">nmap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>fd :se ff=dos<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #c0d8f8; background-color: #202020;">nmap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>fu :se ff=unix<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>



<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">" <a name="VIM userinterface" style="color: #fff">VIM userinterface</a></span>
<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">&quot;Set 7 lines to the curors - when moving vertical..</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">so</span>=7


<span style="color: #d0d090; background-color: #202020;">&quot;Turn on WiLd menu</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">wildmenu</span>

<span style="color: #d0d090; background-color: #202020;">&quot;Always show current position</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">ruler</span>

<span style="color: #d0d090; background-color: #202020;">&quot;The commandbar is 2 high</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">cmdheight</span>=2


<span style="color: #d0d090; background-color: #202020;">&quot;Show line number</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">nu</span>

<span style="color: #d0d090; background-color: #202020;">&quot;Do not redraw, when running macros.. lazyredraw</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">lz</span>

<span style="color: #d0d090; background-color: #202020;">&quot;Change buffer - without saving</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">hid</span>

<span style="color: #d0d090; background-color: #202020;">&quot;Set backspace</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">backspace</span>=eol<span style="color: #c0d8f8; background-color: #202020;">,</span>start<span style="color: #c0d8f8; background-color: #202020;">,</span>indent

<span style="color: #d0d090; background-color: #202020;">&quot;Bbackspace and cursor keys wrap to</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">whichwrap</span>+=<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">,</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span><span style="color: #c0d8f8; background-color: #202020;">,</span>h<span style="color: #c0d8f8; background-color: #202020;">,</span>l


<span style="color: #d0d090; background-color: #202020;">&quot;Ignore case when searching</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">ignorecase</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">incsearch</span>

<span style="color: #d0d090; background-color: #202020;">&quot;Set magic on</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">magic</span>

<span style="color: #d0d090; background-color: #202020;">&quot;No sound on errors.</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">noerrorbells</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">novisualbell</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">t_vb</span>=

<span style="color: #d0d090; background-color: #202020;">&quot;show matching bracets</span>

<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">showmatch</span>

<span style="color: #d0d090; background-color: #202020;">&quot;How many tenths of a second to blink</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">mat</span>=2

<span style="color: #d0d090; background-color: #202020;">&quot;Highlight search things</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">hlsearch</span>

<span style="color: #d0d090; background-color: #202020;">  &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">  " <a name="Statusline" style="color: #fff">Statusline</a></span>
<span style="color: #d0d090; background-color: #202020;">  &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">  &quot;Always hide the statusline</span>
  <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">laststatus</span>=2

  <span style="color: #c0d8f8; background-color: #202020;">function</span>! CurDir<span style="color: #c0d8f8; background-color: #202020;">()</span>

     <span style="color: #c0d8f8; background-color: #202020;">let</span> curdir <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #f0c0f0; background-color: #202020;">substitute</span><span style="color: #c0d8f8; background-color: #202020;">(</span>getcwd<span style="color: #c0d8f8; background-color: #202020;">()</span>, <span style="color: #80c0e0; background-color: #202020;">'/Users/amir/'</span>, <span style="color: #80c0e0; background-color: #202020;">&quot;~/&quot;</span>, <span style="color: #80c0e0; background-color: #202020;">&quot;g&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span>

     <span style="color: #c0d8f8; background-color: #202020;">return</span> curdir
  <span style="color: #c0d8f8; background-color: #202020;">endfunction</span>

<span style="color: #d0d090; background-color: #202020;">  &quot;Format the statusline</span>
  <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">statusline</span>=\ %F%m%r%h\ %w\ \ CWD<span style="color: #c0d8f8; background-color: #202020;">:</span>\ %r%{CurDir()}%h\ \ \ Line<span style="color: #c0d8f8; background-color: #202020;">:</span>\ %l/%L<span style="color: #c0d8f8; background-color: #202020;">:</span>%c




<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">" <a name="Visual" style="color: #fff">Visual</a></span>
<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">&quot; From an idea by Michael Naumann</span>
<span style="color: #c0d8f8; background-color: #202020;">function</span>! VisualSearch<span style="color: #c0d8f8; background-color: #202020;">(</span>direction<span style="color: #c0d8f8; background-color: #202020;">)</span> range
  <span style="color: #c0d8f8; background-color: #202020;">let</span> l:saved_reg <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #b0b0b0; background-color: #202020;">@&quot;</span>

  <span style="color: #c0d8f8; background-color: #202020;">execute</span> <span style="color: #80c0e0; background-color: #202020;">&quot;normal! vgvy&quot;</span>
  <span style="color: #c0d8f8; background-color: #202020;">let</span> l:pattern <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #f0c0f0; background-color: #202020;">escape</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #b0b0b0; background-color: #202020;">@&quot;</span>, <span style="color: #80c0e0; background-color: #202020;">'\\/.*$^~[]'</span><span style="color: #c0d8f8; background-color: #202020;">)</span>

  <span style="color: #c0d8f8; background-color: #202020;">let</span> l:pattern <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #f0c0f0; background-color: #202020;">substitute</span><span style="color: #c0d8f8; background-color: #202020;">(</span>l:pattern, <span style="color: #80c0e0; background-color: #202020;">&quot;\n$&quot;</span>, <span style="color: #80c0e0; background-color: #202020;">&quot;&quot;</span>, <span style="color: #80c0e0; background-color: #202020;">&quot;&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span>
  <span style="color: #c0d8f8; background-color: #202020;">if</span> a:direction <span style="color: #c0d8f8; background-color: #202020;">==</span> <span style="color: #80c0e0; background-color: #202020;">'b'</span>

    <span style="color: #c0d8f8; background-color: #202020;">execute</span> <span style="color: #80c0e0; background-color: #202020;">&quot;normal ?&quot;</span> <span style="color: #c0d8f8; background-color: #202020;">.</span> l:pattern <span style="color: #c0d8f8; background-color: #202020;">.</span> <span style="color: #80c0e0; background-color: #202020;">&quot;^M&quot;</span>
  <span style="color: #c0d8f8; background-color: #202020;">else</span>
    <span style="color: #c0d8f8; background-color: #202020;">execute</span> <span style="color: #80c0e0; background-color: #202020;">&quot;normal /&quot;</span> <span style="color: #c0d8f8; background-color: #202020;">.</span> l:pattern <span style="color: #c0d8f8; background-color: #202020;">.</span> <span style="color: #80c0e0; background-color: #202020;">&quot;^M&quot;</span>

  <span style="color: #c0d8f8; background-color: #202020;">endif</span>
  <span style="color: #c0d8f8; background-color: #202020;">let</span> @/ <span style="color: #c0d8f8; background-color: #202020;">=</span> l:pattern
  <span style="color: #c0d8f8; background-color: #202020;">let</span> <span style="color: #b0b0b0; background-color: #202020;">@&quot;</span> <span style="color: #c0d8f8; background-color: #202020;">=</span> l:saved_reg

<span style="color: #c0d8f8; background-color: #202020;">endfunction</span>

<span style="color: #d0d090; background-color: #202020;">&quot;Basically you press * or # to search for the current selection !! Really useful</span>
<span style="color: #c0d8f8; background-color: #202020;">vnoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">silent</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> * :call VisualSearch('f')<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">CR</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>
<span style="color: #c0d8f8; background-color: #202020;">vnoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">silent</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> # :call VisualSearch('b')<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">CR</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>


<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">" <a name="Moving around and tabs" style="color: #fff">Moving around and tabs</a></span>
<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">&quot;Map space to / and c-space to ?</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">space</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> /
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-space</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> ?


<span style="color: #d0d090; background-color: #202020;">&quot;Smart way to move btw. windows</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-j</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-W</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>j
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-k</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-W</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>k
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-h</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-W</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>h

<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-l</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-W</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>l

<span style="color: #d0d090; background-color: #202020;">&quot;Actually, the tab does not switch buffers, but my arrows</span>
<span style="color: #d0d090; background-color: #202020;">&quot;Bclose function ca be found in </span><span style="color: #80c0e0; background-color: #202020;">&quot;Buffer related&quot;</span><span style="color: #d0d090; background-color: #202020;"> section</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>bd :Bclose<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">down</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> &lt;leader&gt;bd
<span style="color: #d0d090; background-color: #202020;">&quot;Use the arrows to something usefull</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">right</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> :bn<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">left</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> :bp<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #d0d090; background-color: #202020;">&quot;Tab configuration</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>tn :tabnew %<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>te :tabedit
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>tc :tabclose<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>tm :tabmove
<span style="color: #c0d8f8; background-color: #202020;">try</span>
  <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">switchbuf</span>=usetab
  <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">stal</span>=2
<span style="color: #c0d8f8; background-color: #202020;">catch</span>

<span style="color: #c0d8f8; background-color: #202020;">endtry</span>

<span style="color: #d0d090; background-color: #202020;">&quot;Moving fast to front, back and 2 sides ;)</span>
<span style="color: #c0d8f8; background-color: #202020;">imap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">m-$</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>$a
<span style="color: #c0d8f8; background-color: #202020;">imap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">m-0</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>0i

<span style="color: #c0d8f8; background-color: #202020;">imap</span> &lt;D-$&gt; <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>$a
<span style="color: #c0d8f8; background-color: #202020;">imap</span> &lt;D-0&gt; <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>0i


<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">" <a name="General Autocommands" style="color: #fff">General Autocommands</a></span>
<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>

<span style="color: #d0d090; background-color: #202020;">&quot;Switch to current dir</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>cd :cd %:p:h<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>


<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">" <a name="Parenthesis/bracket expanding" style="color: #fff">Parenthesis/bracket expanding</a></span>
<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #c0d8f8; background-color: #202020;">vnoremap</span> $1 <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>`&gt;a)<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>`&lt;i(<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #d0d090; background-color: #202020;">&quot;)</span>
<span style="color: #c0d8f8; background-color: #202020;">vnoremap</span> $2 <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>`&gt;a]<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>`&lt;i[<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>
<span style="color: #c0d8f8; background-color: #202020;">vnoremap</span> $3 <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>`&gt;a}<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>`&lt;i{<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #c0d8f8; background-color: #202020;">vnoremap</span> $$ <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>`&gt;a&quot;<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>`&lt;i&quot;<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>
<span style="color: #c0d8f8; background-color: #202020;">vnoremap</span> $q <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>`&gt;a'<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>`&lt;i'<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #c0d8f8; background-color: #202020;">vnoremap</span> $w <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>`&gt;a&quot;<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>`&lt;i&quot;<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #d0d090; background-color: #202020;">&quot;Map auto complete of (, &quot;, ', [</span>
<span style="color: #c0d8f8; background-color: #202020;">inoremap</span> $1 ()<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:let leavechar=&quot;)&quot;<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>i

<span style="color: #c0d8f8; background-color: #202020;">inoremap</span> $2 []<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:let leavechar=&quot;]&quot;<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>i
<span style="color: #c0d8f8; background-color: #202020;">inoremap</span> $4 {<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>o}<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:let leavechar=&quot;}&quot;<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>O

<span style="color: #c0d8f8; background-color: #202020;">inoremap</span> $3 {}<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:let leavechar=&quot;}&quot;<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>i
<span style="color: #c0d8f8; background-color: #202020;">inoremap</span> $q ''<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:let leavechar=&quot;'&quot;<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>i
<span style="color: #c0d8f8; background-color: #202020;">inoremap</span> $w &quot;&quot;<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:let leavechar='&quot;'<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>i

<span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">BufNewFile</span>,<span style="color: #b0d0f0; background-color: #202020;">BufRead</span> *.\(vim\)\@! <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> &quot; &quot;&quot;<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:let leavechar='&quot;'<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>i
<span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">BufNewFile</span>,<span style="color: #b0d0f0; background-color: #202020;">BufRead</span> *.\(txt\)\@! <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> ' ''<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:let leavechar=&quot;'&quot;<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>i


<span style="color: #c0d8f8; background-color: #202020;">imap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">m-l</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:exec &quot;normal f&quot; . leavechar<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>a
<span style="color: #c0d8f8; background-color: #202020;">imap</span> &lt;d-l&gt; <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:exec &quot;normal f&quot; . leavechar<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>a



<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">" <a name="General Abbrevs" style="color: #fff">General Abbrevs</a></span>
<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">&quot;My information</span>
<span style="color: #c0d8f8; background-color: #202020;">iab</span> xdate <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #f0c0f0; background-color: #202020;">strftime</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;%d/%m/%y %H:%M:%S&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #c0d8f8; background-color: #202020;">iab</span> xname Amir Salihefendic


<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">" <a name="Editing mappings etc." style="color: #fff">Editing mappings etc.</a></span>
<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">&quot;Remap VIM 0</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> 0 ^

<span style="color: #d0d090; background-color: #202020;">&quot;Move a line of text using control</span>
<span style="color: #c0d8f8; background-color: #202020;">nmap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">M-j</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> mz:m+<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>`z

<span style="color: #c0d8f8; background-color: #202020;">nmap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">M-k</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> mz:m-2<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>`z
<span style="color: #c0d8f8; background-color: #202020;">vmap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">M-j</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> :m'&gt;+<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>`&lt;my`&gt;mzgv`yo`z

<span style="color: #c0d8f8; background-color: #202020;">vmap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">M-k</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> :m'&lt;-2<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>`&gt;my`&lt;mzgv`yo`z

<span style="color: #c0d8f8; background-color: #202020;">if</span> <span style="color: #d0d0d0; background-color: #202020;">MySys</span><span style="color: #c0d8f8; background-color: #202020;">()</span> <span style="color: #c0d8f8; background-color: #202020;">==</span> <span style="color: #80c0e0; background-color: #202020;">&quot;mac&quot;</span>

  <span style="color: #c0d8f8; background-color: #202020;">nmap</span> &lt;D-j&gt; <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">M-j</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>
  <span style="color: #c0d8f8; background-color: #202020;">nmap</span> &lt;D-k&gt; <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">M-k</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>
  <span style="color: #c0d8f8; background-color: #202020;">vmap</span> &lt;D-j&gt; <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">M-j</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

  <span style="color: #c0d8f8; background-color: #202020;">vmap</span> &lt;D-k&gt; <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">M-k</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>
<span style="color: #c0d8f8; background-color: #202020;">endif</span>

<span style="color: #c0d8f8; background-color: #202020;">func</span>! DeleteTrailingWS<span style="color: #c0d8f8; background-color: #202020;">()</span>
  <span style="color: #c0d8f8; background-color: #202020;">exe</span> <span style="color: #80c0e0; background-color: #202020;">&quot;normal mz&quot;</span>

  <span style="color: #e0c060; background-color: #202020;">%</span><span style="color: #c0d8f8; background-color: #202020;">s</span><span style="color: #f6bf54; background-color: #202020;">/</span>\s\+$<span style="color: #f6bf54; background-color: #202020;">//</span><span style="color: #f6bf54; background-color: #202020;">ge</span>
  <span style="color: #c0d8f8; background-color: #202020;">exe</span> <span style="color: #80c0e0; background-color: #202020;">&quot;normal `z&quot;</span>
<span style="color: #c0d8f8; background-color: #202020;">endfunc</span>
<span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">BufWrite</span> *.py :<span style="color: #c0d8f8; background-color: #202020;">call</span> <span style="color: #d0d0d0; background-color: #202020;">DeleteTrailingWS</span><span style="color: #c0d8f8; background-color: #202020;">()</span>

<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">completeopt</span>=menu

<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">" <a name="Command-line config" style="color: #fff">Command-line config</a></span>
<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #c0d8f8; background-color: #202020;">func</span>! Cwd<span style="color: #c0d8f8; background-color: #202020;">()</span>
  <span style="color: #c0d8f8; background-color: #202020;">let</span> cwd <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #f0c0f0; background-color: #202020;">getcwd</span><span style="color: #c0d8f8; background-color: #202020;">()</span>

  <span style="color: #c0d8f8; background-color: #202020;">return</span> <span style="color: #b0b0b0; background-color: #202020;">&quot;e </span><span style="color: #d0d090; background-color: #202020;">&quot; . cwd </span>
<span style="color: #c0d8f8; background-color: #202020;">endfunc</span>

<span style="color: #c0d8f8; background-color: #202020;">func</span>! DeleteTillSlash<span style="color: #c0d8f8; background-color: #202020;">()</span>
  <span style="color: #c0d8f8; background-color: #202020;">let</span> g:cmd <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #f0c0f0; background-color: #202020;">getcmdline</span><span style="color: #c0d8f8; background-color: #202020;">()</span>

  <span style="color: #c0d8f8; background-color: #202020;">if</span> <span style="color: #d0d0d0; background-color: #202020;">MySys</span><span style="color: #c0d8f8; background-color: #202020;">()</span> <span style="color: #c0d8f8; background-color: #202020;">==</span> <span style="color: #80c0e0; background-color: #202020;">&quot;linux&quot;</span> <span style="color: #c0d8f8; background-color: #202020;">||</span> <span style="color: #d0d0d0; background-color: #202020;">MySys</span><span style="color: #c0d8f8; background-color: #202020;">()</span> <span style="color: #c0d8f8; background-color: #202020;">==</span> <span style="color: #80c0e0; background-color: #202020;">&quot;mac&quot;</span>

    <span style="color: #c0d8f8; background-color: #202020;">let</span> g:cmd_edited <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #f0c0f0; background-color: #202020;">substitute</span><span style="color: #c0d8f8; background-color: #202020;">(</span>g:cmd, <span style="color: #80c0e0; background-color: #202020;">&quot;</span><span style="color: #80c0e0; background-color: #202020;">\\</span><span style="color: #80c0e0; background-color: #202020;">(.*\[/\]</span><span style="color: #80c0e0; background-color: #202020;">\\</span><span style="color: #80c0e0; background-color: #202020;">).*&quot;</span>, <span style="color: #80c0e0; background-color: #202020;">&quot;</span><span style="color: #80c0e0; background-color: #202020;">\\</span><span style="color: #80c0e0; background-color: #202020;">1&quot;</span>, <span style="color: #80c0e0; background-color: #202020;">&quot;&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span>

  <span style="color: #c0d8f8; background-color: #202020;">else</span>
    <span style="color: #c0d8f8; background-color: #202020;">let</span> g:cmd_edited <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #f0c0f0; background-color: #202020;">substitute</span><span style="color: #c0d8f8; background-color: #202020;">(</span>g:cmd, <span style="color: #80c0e0; background-color: #202020;">&quot;</span><span style="color: #80c0e0; background-color: #202020;">\\</span><span style="color: #80c0e0; background-color: #202020;">(.*\[</span><span style="color: #80c0e0; background-color: #202020;">\\\\</span><span style="color: #80c0e0; background-color: #202020;">]</span><span style="color: #80c0e0; background-color: #202020;">\\</span><span style="color: #80c0e0; background-color: #202020;">).*&quot;</span>, <span style="color: #80c0e0; background-color: #202020;">&quot;</span><span style="color: #80c0e0; background-color: #202020;">\\</span><span style="color: #80c0e0; background-color: #202020;">1&quot;</span>, <span style="color: #80c0e0; background-color: #202020;">&quot;&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span>

  <span style="color: #c0d8f8; background-color: #202020;">endif</span>
  <span style="color: #c0d8f8; background-color: #202020;">if</span> g:cmd <span style="color: #c0d8f8; background-color: #202020;">==</span> g:cmd_edited
    <span style="color: #c0d8f8; background-color: #202020;">if</span> <span style="color: #d0d0d0; background-color: #202020;">MySys</span><span style="color: #c0d8f8; background-color: #202020;">()</span> <span style="color: #c0d8f8; background-color: #202020;">==</span> <span style="color: #80c0e0; background-color: #202020;">&quot;linux&quot;</span> <span style="color: #c0d8f8; background-color: #202020;">||</span> <span style="color: #d0d0d0; background-color: #202020;">MySys</span><span style="color: #c0d8f8; background-color: #202020;">()</span> <span style="color: #c0d8f8; background-color: #202020;">==</span> <span style="color: #80c0e0; background-color: #202020;">&quot;mac&quot;</span>

      <span style="color: #c0d8f8; background-color: #202020;">let</span> g:cmd_edited <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #f0c0f0; background-color: #202020;">substitute</span><span style="color: #c0d8f8; background-color: #202020;">(</span>g:cmd, <span style="color: #80c0e0; background-color: #202020;">&quot;</span><span style="color: #80c0e0; background-color: #202020;">\\</span><span style="color: #80c0e0; background-color: #202020;">(.*\[/\]</span><span style="color: #80c0e0; background-color: #202020;">\\</span><span style="color: #80c0e0; background-color: #202020;">).*/&quot;</span>, <span style="color: #80c0e0; background-color: #202020;">&quot;</span><span style="color: #80c0e0; background-color: #202020;">\\</span><span style="color: #80c0e0; background-color: #202020;">1&quot;</span>, <span style="color: #80c0e0; background-color: #202020;">&quot;&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span>

    <span style="color: #c0d8f8; background-color: #202020;">else</span>
      <span style="color: #c0d8f8; background-color: #202020;">let</span> g:cmd_edited <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #f0c0f0; background-color: #202020;">substitute</span><span style="color: #c0d8f8; background-color: #202020;">(</span>g:cmd, <span style="color: #80c0e0; background-color: #202020;">&quot;</span><span style="color: #80c0e0; background-color: #202020;">\\</span><span style="color: #80c0e0; background-color: #202020;">(.*\[</span><span style="color: #80c0e0; background-color: #202020;">\\\\</span><span style="color: #80c0e0; background-color: #202020;">\]</span><span style="color: #80c0e0; background-color: #202020;">\\</span><span style="color: #80c0e0; background-color: #202020;">).*\[</span><span style="color: #80c0e0; background-color: #202020;">\\\\</span><span style="color: #80c0e0; background-color: #202020;">\]&quot;</span>, <span style="color: #80c0e0; background-color: #202020;">&quot;</span><span style="color: #80c0e0; background-color: #202020;">\\</span><span style="color: #80c0e0; background-color: #202020;">1&quot;</span>, <span style="color: #80c0e0; background-color: #202020;">&quot;&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span>

    <span style="color: #c0d8f8; background-color: #202020;">endif</span>
  <span style="color: #c0d8f8; background-color: #202020;">endif</span>
  <span style="color: #c0d8f8; background-color: #202020;">return</span> g:cmd_edited
<span style="color: #c0d8f8; background-color: #202020;">endfunc</span>

<span style="color: #c0d8f8; background-color: #202020;">func</span>! CurrentFileDir<span style="color: #c0d8f8; background-color: #202020;">(</span>cmd<span style="color: #c0d8f8; background-color: #202020;">)</span>

  <span style="color: #c0d8f8; background-color: #202020;">return</span> a:cmd <span style="color: #c0d8f8; background-color: #202020;">.</span> <span style="color: #80c0e0; background-color: #202020;">&quot; &quot;</span> <span style="color: #c0d8f8; background-color: #202020;">.</span> <span style="color: #f0c0f0; background-color: #202020;">expand</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;%:p:h&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span> <span style="color: #c0d8f8; background-color: #202020;">.</span> <span style="color: #80c0e0; background-color: #202020;">&quot;/&quot;</span>

<span style="color: #c0d8f8; background-color: #202020;">endfunc</span>

<span style="color: #d0d090; background-color: #202020;">&quot;Smart mappings on the command line</span>
<span style="color: #c0d8f8; background-color: #202020;">cno</span> $h e ~/
<span style="color: #c0d8f8; background-color: #202020;">cno</span> $d e ~/Desktop/
<span style="color: #c0d8f8; background-color: #202020;">cno</span> $j e ./

<span style="color: #c0d8f8; background-color: #202020;">cno</span> $q <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-</span><span style="color: #f6bf54; background-color: #202020;">\&gt;</span>eDeleteTillSlash()<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #c0d8f8; background-color: #202020;">cno</span> $c e <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-</span><span style="color: #f6bf54; background-color: #202020;">\&gt;</span>eCurrentFileDir(&quot;e&quot;)<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #c0d8f8; background-color: #202020;">cno</span> $tc <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-</span><span style="color: #f6bf54; background-color: #202020;">\&gt;</span>eCurrentFileDir(&quot;tabnew&quot;)<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #c0d8f8; background-color: #202020;">cno</span> $th tabnew ~/
<span style="color: #c0d8f8; background-color: #202020;">cno</span> $td tabnew ~/Desktop/

<span style="color: #d0d090; background-color: #202020;">&quot;Bash like</span>
<span style="color: #c0d8f8; background-color: #202020;">cnoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-A</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>    <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">Home</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>
<span style="color: #c0d8f8; background-color: #202020;">cnoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-E</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>    <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">End</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #c0d8f8; background-color: #202020;">cnoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-K</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>    <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-U</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>


<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">" <a name="Buffer realted" style="color: #fff">Buffer realted</a></span>
<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">&quot;Fast open a buffer by search for a name</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-q</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> :sb


<span style="color: #d0d090; background-color: #202020;">&quot;Open a dummy buffer for paste</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>q :e ~/buffer<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #d0d090; background-color: #202020;">&quot;Restore cursor to file position in previous editing session</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">viminfo</span>='10<span style="color: #c0d8f8; background-color: #202020;">,</span>\&quot;100<span style="color: #c0d8f8; background-color: #202020;">,:</span>20<span style="color: #c0d8f8; background-color: #202020;">,</span>%<span style="color: #c0d8f8; background-color: #202020;">,</span>n~/.viminfo

<span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">BufReadPost</span> * <span style="color: #c0d8f8; background-color: #202020;">if</span> <span style="color: #f0c0f0; background-color: #202020;">line</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;'\&quot;&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span> <span style="color: #c0d8f8; background-color: #202020;">&gt;</span> <span style="color: #e0c060; background-color: #202020;">0</span>|<span style="color: #c0d8f8; background-color: #202020;">if</span> <span style="color: #f0c0f0; background-color: #202020;">line</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;'\&quot;&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;=</span> <span style="color: #f0c0f0; background-color: #202020;">line</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;$&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span>|<span style="color: #c0d8f8; background-color: #202020;">exe</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;norm '\&quot;&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #c0d8f8; background-color: #202020;">|else</span>|<span style="color: #c0d8f8; background-color: #202020;">exe</span> <span style="color: #80c0e0; background-color: #202020;">&quot;norm $&quot;</span><span style="color: #c0d8f8; background-color: #202020;">|endif</span>|<span style="color: #c0d8f8; background-color: #202020;">endif</span>

<span style="color: #d0d090; background-color: #202020;">&quot; Buffer - reverse everything ... :)</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">F9</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> ggVGg?

<span style="color: #d0d090; background-color: #202020;">&quot; Don't close window, when deleting a buffer</span>
<span style="color: #c0d8f8; background-color: #202020;">command</span>! Bclose <span style="color: #c0d8f8; background-color: #202020;">call</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">SID</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span><span style="color: #d0d0d0; background-color: #202020;">BufcloseCloseIt</span>()


<span style="color: #c0d8f8; background-color: #202020;">function</span>! <span style="color: #f6bf54; background-color: #202020;">&lt;SID&gt;</span>BufcloseCloseIt<span style="color: #c0d8f8; background-color: #202020;">()</span>
   <span style="color: #c0d8f8; background-color: #202020;">let</span> l:currentBufNum <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #f0c0f0; background-color: #202020;">bufnr</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;%&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span>

   <span style="color: #c0d8f8; background-color: #202020;">let</span> l:alternateBufNum <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #f0c0f0; background-color: #202020;">bufnr</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;#&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span>

   <span style="color: #c0d8f8; background-color: #202020;">if</span> <span style="color: #f0c0f0; background-color: #202020;">buflisted</span><span style="color: #c0d8f8; background-color: #202020;">(</span>l:alternateBufNum<span style="color: #c0d8f8; background-color: #202020;">)</span>

     <span style="color: #c0d8f8; background-color: #202020;">buffer</span> #
   <span style="color: #c0d8f8; background-color: #202020;">else</span>
     <span style="color: #c0d8f8; background-color: #202020;">bnext</span>
   <span style="color: #c0d8f8; background-color: #202020;">endif</span>

   <span style="color: #c0d8f8; background-color: #202020;">if</span> <span style="color: #f0c0f0; background-color: #202020;">bufnr</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;%&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span> <span style="color: #c0d8f8; background-color: #202020;">==</span> l:currentBufNum
     <span style="color: #c0d8f8; background-color: #202020;">new</span>

   <span style="color: #c0d8f8; background-color: #202020;">endif</span>

   <span style="color: #c0d8f8; background-color: #202020;">if</span> <span style="color: #f0c0f0; background-color: #202020;">buflisted</span><span style="color: #c0d8f8; background-color: #202020;">(</span>l:currentBufNum<span style="color: #c0d8f8; background-color: #202020;">)</span>
     <span style="color: #c0d8f8; background-color: #202020;">execute</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;bdelete! &quot;</span><span style="color: #c0d8f8; background-color: #202020;">.</span>l:currentBufNum<span style="color: #c0d8f8; background-color: #202020;">)</span>

   <span style="color: #c0d8f8; background-color: #202020;">endif</span>
<span style="color: #c0d8f8; background-color: #202020;">endfunction</span>


<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">" <a name="Files and backups" style="color: #fff">Files and backups</a></span>
<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">&quot;Turn backup off</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">nobackup</span>

<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">nowb</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">noswapfile</span>


<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">" <a name="Folding" style="color: #fff">Folding</a></span>
<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">&quot;Enable folding, I find it very useful</span>

<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">nofen</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">fdl</span>=0


<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">" <a name="Text options" style="color: #fff">Text options</a></span>
<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">expandtab</span>

<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">shiftwidth</span>=2

<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>t2 :set shiftwidth=2<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>t4 :set shiftwidth=4<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>
<span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> html,python,vim,javascript <span style="color: #c0d8f8; background-color: #202020;">setl</span> <span style="color: #60f080; background-color: #202020;">shiftwidth</span>=2

<span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> html,python,vim,javascript <span style="color: #c0d8f8; background-color: #202020;">setl</span> <span style="color: #60f080; background-color: #202020;">tabstop</span>=2
<span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">setl</span> <span style="color: #60f080; background-color: #202020;">shiftwidth</span>=4

<span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">setl</span> <span style="color: #60f080; background-color: #202020;">tabstop</span>=4

<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">smarttab</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">lbr</span>

<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">tw</span>=500

<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="Indent" style="color: #fff">Indent</a></span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   &quot;Auto indent</span>
   <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">ai</span>

<span style="color: #d0d090; background-color: #202020;">   &quot;Smart indet</span>
   <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">si</span>

<span style="color: #d0d090; background-color: #202020;">   &quot;C-style indeting</span>
   <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">cindent</span>

<span style="color: #d0d090; background-color: #202020;">   &quot;Wrap lines</span>
   <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">wrap</span>


<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">" <a name="Spell checking" style="color: #fff">Spell checking</a></span>
<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>sn ]s

<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>sp [s
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>sa zg
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>s? z=


<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">" <a name="Plugin configuration" style="color: #fff">Plugin configuration</a></span>
<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>

<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="Vim Grep" style="color: #fff">Vim Grep</a></span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
   <span style="color: #c0d8f8; background-color: #202020;">let</span> Grep_Skip_Dirs <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #80c0e0; background-color: #202020;">'RCS CVS SCCS .svn'</span>
   <span style="color: #c0d8f8; background-color: #202020;">let</span> Grep_Cygwin_Find <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #e0c060; background-color: #202020;">1</span>

<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="Yank Ring" style="color: #fff">Yank Ring</a></span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
   <span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>y :YRShow<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="File explorer" style="color: #fff">File explorer</a></span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   &quot;Split vertically</span>
   <span style="color: #c0d8f8; background-color: #202020;">let</span> g:explVertical<span style="color: #c0d8f8; background-color: #202020;">=</span><span style="color: #e0c060; background-color: #202020;">1</span>

<span style="color: #d0d090; background-color: #202020;">   &quot;Window size</span>
   <span style="color: #c0d8f8; background-color: #202020;">let</span> g:explWinSize<span style="color: #c0d8f8; background-color: #202020;">=</span><span style="color: #e0c060; background-color: #202020;">35</span>

   <span style="color: #c0d8f8; background-color: #202020;">let</span> g:explSplitLeft<span style="color: #c0d8f8; background-color: #202020;">=</span><span style="color: #e0c060; background-color: #202020;">1</span>

   <span style="color: #c0d8f8; background-color: #202020;">let</span> g:explSplitBelow<span style="color: #c0d8f8; background-color: #202020;">=</span><span style="color: #e0c060; background-color: #202020;">1</span>

<span style="color: #d0d090; background-color: #202020;">   &quot;Hide some files</span>
   <span style="color: #c0d8f8; background-color: #202020;">let</span> g:explHideFiles<span style="color: #c0d8f8; background-color: #202020;">=</span><span style="color: #80c0e0; background-color: #202020;">'^\.,.*\.class$,.*\.swp$,.*\.pyc$,.*\.swo$,\.DS_Store$'</span>

<span style="color: #d0d090; background-color: #202020;">   &quot;Hide the help thing..</span>
   <span style="color: #c0d8f8; background-color: #202020;">let</span> g:explDetailedHelp<span style="color: #c0d8f8; background-color: #202020;">=</span><span style="color: #e0c060; background-color: #202020;">0</span>


<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="Minibuffer" style="color: #fff">Minibuffer</a></span>

<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
   <span style="color: #c0d8f8; background-color: #202020;">let</span> g:miniBufExplModSelTarget <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #e0c060; background-color: #202020;">1</span>
   <span style="color: #c0d8f8; background-color: #202020;">let</span> g:miniBufExplorerMoreThanOne <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #e0c060; background-color: #202020;">2</span>

   <span style="color: #c0d8f8; background-color: #202020;">let</span> g:miniBufExplModSelTarget <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #e0c060; background-color: #202020;">0</span>
   <span style="color: #c0d8f8; background-color: #202020;">let</span> g:miniBufExplUseSingleClick <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #e0c060; background-color: #202020;">1</span>
   <span style="color: #c0d8f8; background-color: #202020;">let</span> g:miniBufExplMapWindowNavVim <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #e0c060; background-color: #202020;">1</span>

   <span style="color: #c0d8f8; background-color: #202020;">let</span> g:miniBufExplVSplit <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #e0c060; background-color: #202020;">25</span>
   <span style="color: #c0d8f8; background-color: #202020;">let</span> g:miniBufExplSplitBelow<span style="color: #c0d8f8; background-color: #202020;">=</span><span style="color: #e0c060; background-color: #202020;">1</span>

   <span style="color: #c0d8f8; background-color: #202020;">let</span> g:bufExplorerSortBy <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #80c0e0; background-color: #202020;">&quot;name&quot;</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">BufRead</span>,<span style="color: #b0d0f0; background-color: #202020;">BufNew</span> :call UMiniBufExplorer


<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="Tag list (ctags) - not used" style="color: #fff">Tag list (ctags) - not used</a></span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>

<span style="color: #d0d090; background-color: #202020;">   &quot;let Tlist_Ctags_Cmd = </span><span style="color: #80c0e0; background-color: #202020;">&quot;/sw/bin/ctags-exuberant&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   &quot;let Tlist_Sort_Type = </span><span style="color: #80c0e0; background-color: #202020;">&quot;name&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   &quot;let Tlist_Show_Menu = 1</span>
<span style="color: #d0d090; background-color: #202020;">   &quot;map &lt;leader&gt;t :Tlist&lt;cr&gt;</span>


<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="LaTeX Suite things" style="color: #fff">LaTeX Suite things</a></span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
   <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">grepprg</span>=grep\ -nH\ $*
   <span style="color: #c0d8f8; background-color: #202020;">let</span> g:Tex_DefaultTargetFormat<span style="color: #c0d8f8; background-color: #202020;">=</span><span style="color: #80c0e0; background-color: #202020;">&quot;pdf&quot;</span>

   <span style="color: #c0d8f8; background-color: #202020;">let</span> g:Tex_ViewRule_pdf<span style="color: #c0d8f8; background-color: #202020;">=</span><span style="color: #80c0e0; background-color: #202020;">'xpdf'</span>

<span style="color: #d0d090; background-color: #202020;">   &quot;Bindings</span>
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> tex <span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">silent</span><span style="color: #f6bf54; background-color: #202020;">&gt;&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">space</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> :w!<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> :silent! call Tex_RunLaTeX()<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #d0d090; background-color: #202020;">   &quot;Auto complete some things ;)</span>
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> tex <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> $i \indent
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> tex <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> $* \cdot
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> tex <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> $i \item
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> tex <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> $m \[<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>\]<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>O



<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">" <a name="Filetype generic" style="color: #fff">Filetype generic</a></span>
<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="Todo" style="color: #fff">Todo</a></span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">BufNewFile</span>,<span style="color: #b0d0f0; background-color: #202020;">BufRead</span> *.todo <span style="color: #c0d8f8; background-color: #202020;">so</span> ~/vim_local/<span style="color: #c0d8f8; background-color: #202020;">syntax</span>/amido<span style="color: #c0d8f8; background-color: #202020;">.</span><span style="color: #c0d8f8; background-color: #202020;">vim</span>

<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="VIM" style="color: #fff">VIM</a></span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> vim <span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">space</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> :w!<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:source %<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>


<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="HTML related" style="color: #fff">HTML related</a></span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   &quot; HTML entities - used by xml edit plugin</span>
   <span style="color: #c0d8f8; background-color: #202020;">let</span> xml_use_xhtml <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #e0c060; background-color: #202020;">1</span>

<span style="color: #d0d090; background-color: #202020;">   &quot;let xml_no_auto_nesting = 1</span>

<span style="color: #d0d090; background-color: #202020;">   &quot;To HTML</span>
   <span style="color: #c0d8f8; background-color: #202020;">let</span> html_use_css <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #e0c060; background-color: #202020;">1</span>
   <span style="color: #c0d8f8; background-color: #202020;">let</span> html_number_lines <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #e0c060; background-color: #202020;">0</span>

   <span style="color: #c0d8f8; background-color: #202020;">let</span> use_xhtml <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #e0c060; background-color: #202020;">1</span>


<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="Ruby &amp; PHP section" style="color: #fff">Ruby &amp; PHP section</a></span>

<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> ruby <span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">space</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> :w!<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:!ruby %<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> php <span style="color: #c0d8f8; background-color: #202020;">compiler</span> php
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> php <span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">space</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> &lt;leader&gt;cd:w<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:make %<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>


<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="Python section" style="color: #fff">Python section</a></span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   &quot;Run the current buffer in python - ie. on leader+space</span>
   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> python <span style="color: #c0d8f8; background-color: #202020;">so</span> ~/vim_local/<span style="color: #c0d8f8; background-color: #202020;">syntax</span>/<span style="color: #c0d8f8; background-color: #202020;">python</span><span style="color: #c0d8f8; background-color: #202020;">.</span><span style="color: #c0d8f8; background-color: #202020;">vim</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> python <span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">space</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> :w!<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:!python %<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> python <span style="color: #c0d8f8; background-color: #202020;">so</span> ~/vim_local/plugin/python_fold<span style="color: #c0d8f8; background-color: #202020;">.</span><span style="color: #c0d8f8; background-color: #202020;">vim</span>

<span style="color: #d0d090; background-color: #202020;">   &quot;Set some bindings up for 'compile' of python</span>
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> python <span style="color: #c0d8f8; background-color: #202020;">set</span> makeprg<span style="color: #c0d8f8; background-color: #202020;">=</span><span style="color: #c0d8f8; background-color: #202020;">python</span>\ <span style="color: #c0d8f8; background-color: #202020;">-</span><span style="color: #c0d8f8; background-color: #202020;">c</span>\ \&quot;import\ py_compile,sys;\ sys<span style="color: #c0d8f8; background-color: #202020;">.</span>stderr<span style="color: #c0d8f8; background-color: #202020;">=</span>sys<span style="color: #c0d8f8; background-color: #202020;">.</span>stdout;\ py_compile<span style="color: #c0d8f8; background-color: #202020;">.</span><span style="color: #c0d8f8; background-color: #202020;">compile</span><span style="color: #c0d8f8; background-color: #202020;">(</span>r'%<span style="color: #80c0e0; background-color: #202020;">'</span><span style="color: #c0d8f8; background-color: #202020;">)</span>\&quot;

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> python <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">efm</span>=%C\ %.%#<span style="color: #c0d8f8; background-color: #202020;">,</span>%A\ \ File\ \&quot;%f\&quot;\\<span style="color: #c0d8f8; background-color: #202020;">,</span>\ line\ %l%.%#<span style="color: #c0d8f8; background-color: #202020;">,</span>%Z%[%^\ ]%\\@=%m


<span style="color: #d0d090; background-color: #202020;">   &quot;Python iMaps</span>
   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> python <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">cindent</span>
   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> python <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> $r return
   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> python <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> $s self
   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> python <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> $c ##<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>#<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">space</span><span style="color: #f6bf54; background-color: #202020;">&gt;&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>#<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>kla
   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> python <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> $i import
   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> python <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> $p print
   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> python <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> $d &quot;&quot;&quot;<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>&quot;&quot;&quot;<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>O


<span style="color: #d0d090; background-color: #202020;">   &quot;Run in the Python interpreter</span>
   <span style="color: #c0d8f8; background-color: #202020;">function</span>! Python_Eval_VSplit<span style="color: #c0d8f8; background-color: #202020;">()</span> range
     <span style="color: #c0d8f8; background-color: #202020;">let</span> src <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #f0c0f0; background-color: #202020;">tempname</span><span style="color: #c0d8f8; background-color: #202020;">()</span>

     <span style="color: #c0d8f8; background-color: #202020;">let</span> dst <span style="color: #c0d8f8; background-color: #202020;">=</span> <span style="color: #f0c0f0; background-color: #202020;">tempname</span><span style="color: #c0d8f8; background-color: #202020;">()</span>
     <span style="color: #c0d8f8; background-color: #202020;">execute</span> <span style="color: #80c0e0; background-color: #202020;">&quot;: &quot;</span> <span style="color: #c0d8f8; background-color: #202020;">.</span> a:firstline <span style="color: #c0d8f8; background-color: #202020;">.</span> <span style="color: #80c0e0; background-color: #202020;">&quot;,&quot;</span> <span style="color: #c0d8f8; background-color: #202020;">.</span> a:lastline <span style="color: #c0d8f8; background-color: #202020;">.</span> <span style="color: #80c0e0; background-color: #202020;">&quot;w &quot;</span> <span style="color: #c0d8f8; background-color: #202020;">.</span> src
     <span style="color: #c0d8f8; background-color: #202020;">execute</span> <span style="color: #80c0e0; background-color: #202020;">&quot;:!python &quot;</span> <span style="color: #c0d8f8; background-color: #202020;">.</span> src <span style="color: #c0d8f8; background-color: #202020;">.</span> <span style="color: #80c0e0; background-color: #202020;">&quot; &gt; &quot;</span> <span style="color: #c0d8f8; background-color: #202020;">.</span> dst
     <span style="color: #c0d8f8; background-color: #202020;">execute</span> <span style="color: #80c0e0; background-color: #202020;">&quot;:pedit! &quot;</span> <span style="color: #c0d8f8; background-color: #202020;">.</span> dst
   <span style="color: #c0d8f8; background-color: #202020;">endfunction</span>

   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> python <span style="color: #c0d8f8; background-color: #202020;">vmap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">F7</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> :call Python_Eval_VSplit()<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="Cheetah section" style="color: #fff">Cheetah section</a></span>

<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> cheetah <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">ft</span>=xml
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> cheetah <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">syntax</span>=cheetah


<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="Vim section" style="color: #fff">Vim section</a></span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> vim <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">nofen</span>

<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="Java section" style="color: #fff">Java section</a></span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-t</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> System.out.println();<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>hi


<span style="color: #d0d090; background-color: #202020;">   &quot;Java comments</span>
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">source</span> ~/vim_local/macros/jcommenter<span style="color: #c0d8f8; background-color: #202020;">.</span><span style="color: #c0d8f8; background-color: #202020;">vim</span>
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">let</span> b:jcommenter_class_author<span style="color: #c0d8f8; background-color: #202020;">=</span><span style="color: #80c0e0; background-color: #202020;">'Amir Salihefendic (amix@amix.dk)'</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">let</span> b:jcommenter_file_author<span style="color: #c0d8f8; background-color: #202020;">=</span><span style="color: #80c0e0; background-color: #202020;">'Amir Salihefendic (amix@amix.dk)'</span>
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">F2</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> :call JCommentWriter()<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #d0d090; background-color: #202020;">   &quot;Abbr'z</span>
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> $pr private
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> $r return
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> $pu public
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> $i import
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> $b boolean
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> $v void
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> $s String


<span style="color: #d0d090; background-color: #202020;">   &quot;Folding</span>
   <span style="color: #c0d8f8; background-color: #202020;">function</span>! JavaFold<span style="color: #c0d8f8; background-color: #202020;">()</span>
     <span style="color: #c0d8f8; background-color: #202020;">setl</span> <span style="color: #60f080; background-color: #202020;">foldmethod</span>=syntax
     <span style="color: #c0d8f8; background-color: #202020;">setl</span> <span style="color: #60f080; background-color: #202020;">foldlevelstart</span>=1
     <span style="color: #c0d8f8; background-color: #202020;">syn</span> <span style="color: #b0d0f0; background-color: #202020;">region</span> foldBraces <span style="color: #b0d0f0; background-color: #202020;">start</span>=<span style="color: #80c0e0; background-color: #202020;">/{/</span> <span style="color: #b0d0f0; background-color: #202020;">end</span>=<span style="color: #80c0e0; background-color: #202020;">/}/</span> <span style="color: #f6bf54; background-color: #202020;">transparent</span> <span style="color: #f6bf54; background-color: #202020;">fold</span> <span style="color: #f6bf54; background-color: #202020;">keepend</span> <span style="color: #f6bf54; background-color: #202020;">extend</span>

     <span style="color: #c0d8f8; background-color: #202020;">syn</span> <span style="color: #b0d0f0; background-color: #202020;">match</span> foldImports <span style="color: #80c0e0; background-color: #202020;">/</span><span style="color: #b0b0b0; background-color: #202020;">\(</span><span style="color: #80c0e0; background-color: #202020;">\n\?import.\+;\n</span><span style="color: #b0b0b0; background-color: #202020;">\)</span><span style="color: #80c0e0; background-color: #202020;">\+/</span> <span style="color: #f6bf54; background-color: #202020;">transparent</span> <span style="color: #f6bf54; background-color: #202020;">fold</span>

     <span style="color: #c0d8f8; background-color: #202020;">function</span>! FoldText<span style="color: #c0d8f8; background-color: #202020;">()</span>
       <span style="color: #c0d8f8; background-color: #202020;">return</span> <span style="color: #f0c0f0; background-color: #202020;">substitute</span><span style="color: #c0d8f8; background-color: #202020;">(</span>getline<span style="color: #c0d8f8; background-color: #202020;">(</span>v:foldstart<span style="color: #c0d8f8; background-color: #202020;">)</span>, <span style="color: #80c0e0; background-color: #202020;">'{.*'</span>, <span style="color: #80c0e0; background-color: #202020;">'{...}'</span>, <span style="color: #80c0e0; background-color: #202020;">''</span><span style="color: #c0d8f8; background-color: #202020;">)</span>

     <span style="color: #c0d8f8; background-color: #202020;">endfunction</span>
     <span style="color: #c0d8f8; background-color: #202020;">setl</span> <span style="color: #60f080; background-color: #202020;">foldtext</span>=FoldText()
   <span style="color: #c0d8f8; background-color: #202020;">endfunction</span>
   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">call</span> <span style="color: #d0d0d0; background-color: #202020;">JavaFold</span><span style="color: #c0d8f8; background-color: #202020;">()</span>

   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">setl</span> <span style="color: #60f080; background-color: #202020;">fen</span>

   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">BufEnter</span> *.sablecc,*.scc <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">ft</span>=sablecc


<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="JavaScript section" style="color: #fff">JavaScript section</a></span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> javascript <span style="color: #c0d8f8; background-color: #202020;">so</span> ~/vim_local/<span style="color: #c0d8f8; background-color: #202020;">syntax</span>/javascript<span style="color: #c0d8f8; background-color: #202020;">.</span><span style="color: #c0d8f8; background-color: #202020;">vim</span>

   <span style="color: #c0d8f8; background-color: #202020;">function</span>! JavaScriptFold<span style="color: #c0d8f8; background-color: #202020;">()</span>
     <span style="color: #c0d8f8; background-color: #202020;">setl</span> <span style="color: #60f080; background-color: #202020;">foldmethod</span>=syntax
     <span style="color: #c0d8f8; background-color: #202020;">setl</span> <span style="color: #60f080; background-color: #202020;">foldlevelstart</span>=1
     <span style="color: #c0d8f8; background-color: #202020;">syn</span> <span style="color: #b0d0f0; background-color: #202020;">region</span> foldBraces <span style="color: #b0d0f0; background-color: #202020;">start</span>=<span style="color: #80c0e0; background-color: #202020;">/{/</span> <span style="color: #b0d0f0; background-color: #202020;">end</span>=<span style="color: #80c0e0; background-color: #202020;">/}/</span> <span style="color: #f6bf54; background-color: #202020;">transparent</span> <span style="color: #f6bf54; background-color: #202020;">fold</span> <span style="color: #f6bf54; background-color: #202020;">keepend</span> <span style="color: #f6bf54; background-color: #202020;">extend</span>

     <span style="color: #c0d8f8; background-color: #202020;">function</span>! FoldText<span style="color: #c0d8f8; background-color: #202020;">()</span>
       <span style="color: #c0d8f8; background-color: #202020;">return</span> <span style="color: #f0c0f0; background-color: #202020;">substitute</span><span style="color: #c0d8f8; background-color: #202020;">(</span>getline<span style="color: #c0d8f8; background-color: #202020;">(</span>v:foldstart<span style="color: #c0d8f8; background-color: #202020;">)</span>, <span style="color: #80c0e0; background-color: #202020;">'{.*'</span>, <span style="color: #80c0e0; background-color: #202020;">'{...}'</span>, <span style="color: #80c0e0; background-color: #202020;">''</span><span style="color: #c0d8f8; background-color: #202020;">)</span>

     <span style="color: #c0d8f8; background-color: #202020;">endfunction</span>
     <span style="color: #c0d8f8; background-color: #202020;">setl</span> <span style="color: #60f080; background-color: #202020;">foldtext</span>=FoldText()
   <span style="color: #c0d8f8; background-color: #202020;">endfunction</span>
   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> javascript <span style="color: #c0d8f8; background-color: #202020;">call</span> <span style="color: #d0d0d0; background-color: #202020;">JavaScriptFold</span><span style="color: #c0d8f8; background-color: #202020;">()</span>

   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> javascript <span style="color: #c0d8f8; background-color: #202020;">setl</span> <span style="color: #60f080; background-color: #202020;">fen</span>

   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> javascript <span style="color: #c0d8f8; background-color: #202020;">imap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-t</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> console.log();<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>hi
   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> javascript <span style="color: #c0d8f8; background-color: #202020;">imap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-a</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> alert();<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>hi
   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> javascript <span style="color: #c0d8f8; background-color: #202020;">setl</span> <span style="color: #60f080; background-color: #202020;">nocindent</span>

   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> javascript <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> $r return

   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> javascript <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> $d //<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>//<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>//<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>ka<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">space</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> javascript <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> $c /**<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;&lt;</span><span style="color: #f6bf54; background-color: #202020;">space</span><span style="color: #f6bf54; background-color: #202020;">&gt;&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>**/<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>ka



<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="HTML" style="color: #fff">HTML</a></span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> html,cheetah <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">ft</span>=xml
   <span style="color: #c0d8f8; background-color: #202020;">au</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> html,cheetah <span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">syntax</span>=html



<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="C mappings" style="color: #fff">C mappings</a></span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> c <span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">space</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> :w<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:!gcc %<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>


<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="SML" style="color: #fff">SML</a></span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> sml <span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">silent</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">space</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> &lt;leader&gt;cd:w<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:!sml %<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>


<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="Scheme bidings" style="color: #fff">Scheme bidings</a></span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">BufNewFile</span>,<span style="color: #b0d0f0; background-color: #202020;">BufRead</span> *.scm <span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">space</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> &lt;leader&gt;cd:w<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:!petite %<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">BufNewFile</span>,<span style="color: #b0d0f0; background-color: #202020;">BufRead</span> *.scm <span style="color: #c0d8f8; background-color: #202020;">inoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">buffer</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-t</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> (pretty-print )<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>i
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">BufNewFile</span>,<span style="color: #b0d0f0; background-color: #202020;">BufRead</span> *.scm <span style="color: #c0d8f8; background-color: #202020;">vnoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-t</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>`&gt;a)<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>`&lt;i(pretty-print <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>


<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="SVN section" style="color: #fff">SVN section</a></span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
   <span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">F8</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> :new<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">CR</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:read !svn diff<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">CR</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:set syntax=diff buftype=nofile<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">CR</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>gg



<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">" <a name="Snippets" style="color: #fff">Snippets</a></span>
<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   &quot;You can use &lt;c-j&gt; to goto the next &lt;++&gt; - it is pretty smart ;)</span>

<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>

<span style="color: #d0d090; background-color: #202020;">   " <a name="Python" style="color: #fff">Python</a></span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> python <span style="color: #c0d8f8; background-color: #202020;">inorea</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;</span><span style="color: #c0d8f8; background-color: #202020;">buffer</span><span style="color: #c0d8f8; background-color: #202020;">&gt;</span> cfun <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #d0d0d0; background-color: #202020;">IMAP_PutTextWithMovement</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;def &lt;++&gt;(&lt;++&gt;):\n&lt;++&gt;\nreturn &lt;++&gt;&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> python <span style="color: #c0d8f8; background-color: #202020;">inorea</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;</span><span style="color: #c0d8f8; background-color: #202020;">buffer</span><span style="color: #c0d8f8; background-color: #202020;">&gt;</span> cclass <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #d0d0d0; background-color: #202020;">IMAP_PutTextWithMovement</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;class &lt;++&gt;:\n&lt;++&gt;&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> python <span style="color: #c0d8f8; background-color: #202020;">inorea</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;</span><span style="color: #c0d8f8; background-color: #202020;">buffer</span><span style="color: #c0d8f8; background-color: #202020;">&gt;</span> cfor <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #d0d0d0; background-color: #202020;">IMAP_PutTextWithMovement</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;for &lt;++&gt; in &lt;++&gt;:\n&lt;++&gt;&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> python <span style="color: #c0d8f8; background-color: #202020;">inorea</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;</span><span style="color: #c0d8f8; background-color: #202020;">buffer</span><span style="color: #c0d8f8; background-color: #202020;">&gt;</span> cif <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #d0d0d0; background-color: #202020;">IMAP_PutTextWithMovement</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;if &lt;++&gt;:\n&lt;++&gt;&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> python <span style="color: #c0d8f8; background-color: #202020;">inorea</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;</span><span style="color: #c0d8f8; background-color: #202020;">buffer</span><span style="color: #c0d8f8; background-color: #202020;">&gt;</span> cifelse <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #d0d0d0; background-color: #202020;">IMAP_PutTextWithMovement</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;if &lt;++&gt;:\n&lt;++&gt;\nelse:\n&lt;++&gt;&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>


<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="JavaScript" style="color: #fff">JavaScript</a></span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> cheetah,html,javascript <span style="color: #c0d8f8; background-color: #202020;">inorea</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;</span><span style="color: #c0d8f8; background-color: #202020;">buffer</span><span style="color: #c0d8f8; background-color: #202020;">&gt;</span> cfun <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #d0d0d0; background-color: #202020;">IMAP_PutTextWithMovement</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;function &lt;++&gt;(&lt;++&gt;) {\n&lt;++&gt;;\nreturn &lt;++&gt;;\n}&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">filetype</span> cheetah,html,javascript <span style="color: #c0d8f8; background-color: #202020;">inorea</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;</span><span style="color: #c0d8f8; background-color: #202020;">buffer</span><span style="color: #c0d8f8; background-color: #202020;">&gt;</span> cfor <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #d0d0d0; background-color: #202020;">IMAP_PutTextWithMovement</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;for(&lt;++&gt;; &lt;++&gt;; &lt;++&gt;) {\n&lt;++&gt;;\n}&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> cheetah,html,javascript <span style="color: #c0d8f8; background-color: #202020;">inorea</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;</span><span style="color: #c0d8f8; background-color: #202020;">buffer</span><span style="color: #c0d8f8; background-color: #202020;">&gt;</span> cif <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #d0d0d0; background-color: #202020;">IMAP_PutTextWithMovement</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;if(&lt;++&gt;) {\n&lt;++&gt;;\n}&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> cheetah,html,javascript <span style="color: #c0d8f8; background-color: #202020;">inorea</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;</span><span style="color: #c0d8f8; background-color: #202020;">buffer</span><span style="color: #c0d8f8; background-color: #202020;">&gt;</span> cifelse <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #d0d0d0; background-color: #202020;">IMAP_PutTextWithMovement</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;if(&lt;++&gt;) {\n&lt;++&gt;;\n}\nelse {\n&lt;++&gt;;\n}&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>


<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="HTML" style="color: #fff">HTML</a></span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> cheetah,html <span style="color: #c0d8f8; background-color: #202020;">inorea</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;</span><span style="color: #c0d8f8; background-color: #202020;">buffer</span><span style="color: #c0d8f8; background-color: #202020;">&gt;</span> cahref <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #d0d0d0; background-color: #202020;">IMAP_PutTextWithMovement</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">'&lt;a href=&quot;&lt;++&gt;&quot;&gt;&lt;++&gt;&lt;/a&gt;'</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> cheetah,html <span style="color: #c0d8f8; background-color: #202020;">inorea</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;</span><span style="color: #c0d8f8; background-color: #202020;">buffer</span><span style="color: #c0d8f8; background-color: #202020;">&gt;</span> cbold <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #d0d0d0; background-color: #202020;">IMAP_PutTextWithMovement</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">'&lt;b&gt;&lt;++&gt;&lt;/b&gt;'</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> cheetah,html <span style="color: #c0d8f8; background-color: #202020;">inorea</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;</span><span style="color: #c0d8f8; background-color: #202020;">buffer</span><span style="color: #c0d8f8; background-color: #202020;">&gt;</span> cimg <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #d0d0d0; background-color: #202020;">IMAP_PutTextWithMovement</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">'&lt;img src=&quot;&lt;++&gt;&quot; alt=&quot;&lt;++&gt;&quot; /&gt;'</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> cheetah,html <span style="color: #c0d8f8; background-color: #202020;">inorea</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;</span><span style="color: #c0d8f8; background-color: #202020;">buffer</span><span style="color: #c0d8f8; background-color: #202020;">&gt;</span> cpara <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #d0d0d0; background-color: #202020;">IMAP_PutTextWithMovement</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">'&lt;p&gt;&lt;++&gt;&lt;/p&gt;'</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> cheetah,html <span style="color: #c0d8f8; background-color: #202020;">inorea</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;</span><span style="color: #c0d8f8; background-color: #202020;">buffer</span><span style="color: #c0d8f8; background-color: #202020;">&gt;</span> ctag <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #d0d0d0; background-color: #202020;">IMAP_PutTextWithMovement</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">'&lt;&lt;++&gt;&gt;&lt;++&gt;&lt;/&lt;++&gt;&gt;'</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> cheetah,html <span style="color: #c0d8f8; background-color: #202020;">inorea</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;</span><span style="color: #c0d8f8; background-color: #202020;">buffer</span><span style="color: #c0d8f8; background-color: #202020;">&gt;</span> ctag1 <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #d0d0d0; background-color: #202020;">IMAP_PutTextWithMovement</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;&lt;&lt;++&gt;&gt;&lt;cr&gt;&lt;++&gt;&lt;cr&gt;&lt;/&lt;++&gt;&gt;&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>


<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">   " <a name="Java" style="color: #fff">Java</a></span>
<span style="color: #d0d090; background-color: #202020;">   &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">inorea</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;</span><span style="color: #c0d8f8; background-color: #202020;">buffer</span><span style="color: #c0d8f8; background-color: #202020;">&gt;</span> cfun <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #d0d0d0; background-color: #202020;">IMAP_PutTextWithMovement</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;public&lt;++&gt; &lt;++&gt;(&lt;++&gt;) {\n&lt;++&gt;;\nreturn &lt;++&gt;;\n}&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">inorea</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;</span><span style="color: #c0d8f8; background-color: #202020;">buffer</span><span style="color: #c0d8f8; background-color: #202020;">&gt;</span> cfunpr <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #d0d0d0; background-color: #202020;">IMAP_PutTextWithMovement</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;private&lt;++&gt; &lt;++&gt;(&lt;++&gt;) {\n&lt;++&gt;;\nreturn &lt;++&gt;;\n}&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">inorea</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;</span><span style="color: #c0d8f8; background-color: #202020;">buffer</span><span style="color: #c0d8f8; background-color: #202020;">&gt;</span> cfor <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #d0d0d0; background-color: #202020;">IMAP_PutTextWithMovement</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;for(&lt;++&gt;; &lt;++&gt;; &lt;++&gt;) {\n&lt;++&gt;;\n}&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">inorea</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;</span><span style="color: #c0d8f8; background-color: #202020;">buffer</span><span style="color: #c0d8f8; background-color: #202020;">&gt;</span> cif <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #d0d0d0; background-color: #202020;">IMAP_PutTextWithMovement</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;if(&lt;++&gt;) {\n&lt;++&gt;;\n}&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">inorea</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;</span><span style="color: #c0d8f8; background-color: #202020;">buffer</span><span style="color: #c0d8f8; background-color: #202020;">&gt;</span> cifelse <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #d0d0d0; background-color: #202020;">IMAP_PutTextWithMovement</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;if(&lt;++&gt;) {\n&lt;++&gt;;\n}\nelse {\n&lt;++&gt;;\n}&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">inorea</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;</span><span style="color: #c0d8f8; background-color: #202020;">buffer</span><span style="color: #c0d8f8; background-color: #202020;">&gt;</span> cclass <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #d0d0d0; background-color: #202020;">IMAP_PutTextWithMovement</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;class &lt;++&gt; &lt;++&gt; {\n&lt;++&gt;\n}&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

   <span style="color: #c0d8f8; background-color: #202020;">autocmd</span> <span style="color: #b0d0f0; background-color: #202020;">FileType</span> java <span style="color: #c0d8f8; background-color: #202020;">inorea</span> <span style="color: #c0d8f8; background-color: #202020;">&lt;</span><span style="color: #c0d8f8; background-color: #202020;">buffer</span><span style="color: #c0d8f8; background-color: #202020;">&gt;</span> cmain <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-r</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>=<span style="color: #d0d0d0; background-color: #202020;">IMAP_PutTextWithMovement</span><span style="color: #c0d8f8; background-color: #202020;">(</span><span style="color: #80c0e0; background-color: #202020;">&quot;public static void main(String[] argv) {\n&lt;++&gt;\n}&quot;</span><span style="color: #c0d8f8; background-color: #202020;">)</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>


<span style="color: #d0d090; background-color: #202020;">   &quot;Presse c-q insted of space (or other key) to complete the snippet</span>
   <span style="color: #c0d8f8; background-color: #202020;">imap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-q</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-]</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>


<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">" <a name="Cope" style="color: #fff">Cope</a></span>

<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">&quot;For Cope</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">silent</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span><span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> :noh<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #d0d090; background-color: #202020;">&quot;Orginal for all</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>n :cn<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>p :cp<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>c :botright cw 10<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-u</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-l</span><span style="color: #f6bf54; background-color: #202020;">&gt;&lt;</span><span style="color: #f6bf54; background-color: #202020;">c-j</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:q<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:botright cw 10<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>


<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">" <a name="MISC" style="color: #fff">MISC</a></span>
<span style="color: #d0d090; background-color: #202020;">&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</span>
<span style="color: #d0d090; background-color: #202020;">&quot;Remove the Windows ^M</span>
<span style="color: #c0d8f8; background-color: #202020;">noremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">Leader</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>m mmHmt:%s/<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-V</span><span style="color: #f6bf54; background-color: #202020;">&gt;&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>//ge<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>'tzt'm


<span style="color: #d0d090; background-color: #202020;">&quot;Paste toggle - when pasting something in, don't indent.</span>
<span style="color: #c0d8f8; background-color: #202020;">set</span> <span style="color: #60f080; background-color: #202020;">pastetoggle</span>=<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">F3</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #d0d090; background-color: #202020;">&quot;Remove indenting on empty lines</span>
<span style="color: #c0d8f8; background-color: #202020;">map</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">F2</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> :%s/\s*$//g<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:noh<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>''


<span style="color: #d0d090; background-color: #202020;">&quot;Super paste</span>
<span style="color: #c0d8f8; background-color: #202020;">inoremap</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-v</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span> <span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>:set paste<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>mui<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">C-R</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>+<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">esc</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>mv'uV'v=:set nopaste<span style="color: #f6bf54; background-color: #202020;">&lt;</span><span style="color: #f6bf54; background-color: #202020;">cr</span><span style="color: #f6bf54; background-color: #202020;">&gt;</span>

<span style="color: #d0d090; background-color: #202020;">&quot;A function that inserts links &amp; anchors on a TOhtml export.</span>
<span style="color: #d0d090; background-color: #202020;">&quot;</span> <span style="color: #60f080; background-color: #202020;">Notice:</span>
<span style="color: #d0d090; background-color: #202020;">&quot; Syntax used is:</span>
<span style="color: #d0d090; background-color: #202020;">" <a href="#Link" style="color: cyan">Link</a></span>
<span style="color: #d0d090; background-color: #202020;">" <a name="Anchor" style="color: #fff">Anchor</a></span>
<span style="color: #c0d8f8; background-color: #202020;">function</span>! SmartTOHtml<span style="color: #c0d8f8; background-color: #202020;">()</span>

   TOhtml
   <span style="color: #c0d8f8; background-color: #202020;">try</span>
    <span style="color: #e0c060; background-color: #202020;">%</span><span style="color: #c0d8f8; background-color: #202020;">s</span><span style="color: #f6bf54; background-color: #202020;">/</span>&amp;quot;\s\+\*&amp;gt; <span style="color: #b0b0b0; background-color: #202020;">\(</span>.\+<span style="color: #b0b0b0; background-color: #202020;">\)</span>&lt;<span style="color: #f6bf54; background-color: #202020;">/</span>&quot; &lt;a href=&quot;#<span style="color: #b0b0b0; background-color: #202020;">\1</span>&quot; style=&quot;color: cyan&quot;&gt;<span style="color: #b0b0b0; background-color: #202020;">\1</span>&lt;\/a&gt;&lt;<span style="color: #f6bf54; background-color: #202020;">/</span><span style="color: #f6bf54; background-color: #202020;">g</span>

    <span style="color: #e0c060; background-color: #202020;">%</span><span style="color: #c0d8f8; background-color: #202020;">s</span><span style="color: #f6bf54; background-color: #202020;">/</span>&amp;quot;<span style="color: #b0b0b0; background-color: #202020;">\(</span>-<span style="color: #b0b0b0; background-color: #202020;">\|</span>\s<span style="color: #b0b0b0; background-color: #202020;">\)</span>\+\*&amp;gt; <span style="color: #b0b0b0; background-color: #202020;">\(</span>.\+<span style="color: #b0b0b0; background-color: #202020;">\)</span>&lt;<span style="color: #f6bf54; background-color: #202020;">/</span>&quot; \&amp;nbsp;\&amp;nbsp; &lt;a href=&quot;#<span style="color: #b0b0b0; background-color: #202020;">\2</span>&quot; style=&quot;color: cyan;&quot;&gt;<span style="color: #b0b0b0; background-color: #202020;">\2</span>&lt;\/a&gt;&lt;<span style="color: #f6bf54; background-color: #202020;">/</span><span style="color: #f6bf54; background-color: #202020;">g</span>

    <span style="color: #e0c060; background-color: #202020;">%</span><span style="color: #c0d8f8; background-color: #202020;">s</span><span style="color: #f6bf54; background-color: #202020;">/</span>&amp;quot;\s\+=&amp;gt; <span style="color: #b0b0b0; background-color: #202020;">\(</span>.\+<span style="color: #b0b0b0; background-color: #202020;">\)</span>&lt;<span style="color: #f6bf54; background-color: #202020;">/</span>&quot; &lt;a name=&quot;<span style="color: #b0b0b0; background-color: #202020;">\1</span>&quot; style=&quot;color: #fff&quot;&gt;<span style="color: #b0b0b0; background-color: #202020;">\1</span>&lt;\/a&gt;&lt;<span style="color: #f6bf54; background-color: #202020;">/</span><span style="color: #f6bf54; background-color: #202020;">g</span>

   <span style="color: #c0d8f8; background-color: #202020;">catch</span>
   <span style="color: #c0d8f8; background-color: #202020;">endtry</span>
   <span style="color: #c0d8f8; background-color: #202020;">exe</span> <span style="color: #80c0e0; background-color: #202020;">&quot;:write!&quot;</span>
   <span style="color: #c0d8f8; background-color: #202020;">exe</span> <span style="color: #80c0e0; background-color: #202020;">&quot;:bd&quot;</span>
<span style="color: #c0d8f8; background-color: #202020;">endfunction</span>

</pre>
</p>
</body>
</html>
